package com.study.app.domain.bo;

import com.study.common.core.domain.BaseEntity;
import com.study.common.core.validate.AddGroup;
import com.study.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AppRemoteControlBo implements Serializable {

    /**
     * 设备编码
     */
    @NotNull(message = "设备编码不能为空")
    private String deviceCode;

    /**
     * 操作部件
     */
    @NotNull(message = "操作部件不能为空")
    private Integer body;

    /**
     * 附加指令
     */
    @NotNull(message = "附加指令不能为空")
    private Integer attach;
}
